<?php


/**
* Puree CMS
* http://www.molotsoft.ru
*
* @package Puree_CMS
* @subpackage Models
* @author Ivan Chistyakov <ivan@molotsoft.ru>
* @version $Id: activity.php 1185 2010-03-26 13:52:26Z molotsoft@gmail.com $
* @link $HeadURL: http://puree-cms.googlecode.com/svn/trunk/models/activity.php $
*/


class Activity extends GeneralModel {

/******************************************************************************/

var $name = 'Activity';

var $belongsTo = array(
	'ActivityRubric'
);

var $hasAndBelongsToMany = array(
	'Project'
);

var $displayField = 'caption';

var $order = array(
	'Activity.position' => 'ASC',
	'Activity.id' => 'ASC'
);

var $actsAs = array(
	'Admin.Automate',
	'Containable'
);

/******************************************************************************/

}


?>